import React from 'react';
import {Radio} from 'antd';
import {RadioButtonProps} from "antd/es/radio/radioButton";
import "./HYRadioButton.less"
import ClassNames from "classnames";

export declare type HYRadioProps = {
} & RadioButtonProps;

class HYRadioButton extends React.Component<HYRadioProps, any> {
  constructor(props) {
    super(props);
  }

  render() {
    const {className, ...rest} = this.props;
    return <Radio.Button className={ClassNames("hy-radio-button",className)} {...rest} />;
  }
}

export default HYRadioButton;
